package cool.mor.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author Ivan
 */
@Data
@Entity
@Table(name = "salary")
public class Salary implements Serializable {
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "employee_id")
    private String employeeId;
    @Column(name = "dept_salary")
    private String deptSalary;
    @Column(name = "rewards_and_punishment")
    private String rewardsAndPunishment;
    @Column(name = "total_salary")
    private String totalSalary;

}